# Name of the executable created (.exe will be added automatically if necessary)
Target := demo
# List of source files, separated by spaces
Sources := hello.cpp myfun.cpp
OBJ	:= hello.o myfun.o

$(Target): $(OBJ)
	$(CXX) $(OBJ) -o $(Target)

.cpp.o :
	c++ -c $<

clean:
	rm *.o